package com.wsoft.cms.query.announcement;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * @Author z001
 * @Date 2024/11/27 14:42
 */
@Data
public class AnnouncementPublishQuery {

    @Schema(description = "文章id")
    @NotNull(message = "文章id不能为空")
    private Long id;

    @Schema(description = "发布时间")
    @NotNull(message = "发布时间不能为空")
    private LocalDateTime sendTime;
}
